<template>
	<view class="layout">
		<view class="statusBar" :style="{height:getStatusBarHeight()+'px'}"></view>
	</view>
</template>

<script setup>
	import {getStatusBarHeight} from "@/utils/system.js"
	console.log(getStatusBarHeight());
</script>

// <!-- // scss 语言类型  scoped css样式的类名仅限当前页面 不污染其它页面 -->
<style lang="scss" scoped>
.layout{
	.statusBar{}
}
</style>